My Project
Main Page
Files
File List
File Members
All
Files
Functions
Macros
parser.h
Go to the documentation of this file.
1
/*****
2
* Mean value calculation example
3
*
4
* Copyright (C) 2015 Henrik Sandklef
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 3
9
* of the License, or any later version.
10
*
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Boston,
20
* MA 02110-1301, USA.
21
****/
22
44
int
*
strings_to_ints
(
int
size,
char
**int_strings);
45
52
void
free_ints
(
int
*p);
53
60
#define FREE_INTS(p) free_ints(p); p=NULL;
strings_to_ints
int * strings_to_ints(int size, char **int_strings)
Given an 'array' of int in string format, this function returns a list of intgers.
Definition:
parser.c:28
free_ints
void free_ints(int *p)
Frees the memory allocated by strings_to_ints.
Definition:
parser.c:44
Generated on Thu Dec 3 2015 12:36:09 for My Project by
1.8.6